using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;


namespace _3Dsoundor2Dgraphor.Graphics
{
	public class Element
	{
		public PointF _position;
		public PointF _orjentation;
		public static double time;

		public SolidBrush mBrush;


		public static int sceneX;
		public static int sceneY;
		public static int sceneH;
		public static int sceneW;

		public Element ()
		{
			_position = new PointF(0, 0);
			_orjentation = new PointF(0,1);
		}


		public virtual void draw(System.Drawing.Graphics output)
		{

		}
		public virtual void action(PointF point)
		{

		}

		public double distance (PointF p1, PointF p2)
		{
			return Math.Sqrt(Math.Pow((p1.X - p2.X), 2) + Math.Pow((p1.Y - p2.Y), 2));
		}


		public virtual void stopAction(PointF position)
		{
			
		}
	}
}